package com.eigaland.change_machine.business.setting

import androidx.lifecycle.MutableLiveData
import com.eigland.eigaland_lib.base.BaseVM
import movie6.posprintercept2.extensions.customLaunch

public class SettingFragmentVM : BaseVM(){

    var  repository = SettingFragmentRepository()
    var  settingList = MutableLiveData<List<SettingItemVM>>()

    override fun initData() {

        customLaunch({
            settingList.postValue(repository.loadSettingConfig())
        },{

        })

    }

    override fun destroy() {

    }

    override fun saveData() {
    }

    override fun onResume() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

}